package com.zygh.policeasset.pojo;

import cn.afterturn.easypoi.util.PoiElUtil;
import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.zygh.policeasset.utils.DoubleSerialize;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
public class Project {
    @ExcelIgnore
    private Integer id;

    @ExcelIgnore
    private int pid;

    @ExcelIgnore
    @ApiModelProperty("项目类型id")
    private int category;

    @ExcelIgnore
    @ApiModelProperty("项目类型名称")
    private String categoryName;

    @ExcelIgnore
    @ApiModelProperty("项目类型编号名称")
    private String type;

    @ExcelProperty({"发改委文号"})
    @ApiModelProperty("发改委文号")
    private String commissionNo;

    @ExcelProperty({"项目编号"})
    @ApiModelProperty("项目编号")
    private String projectNo;

    @ExcelProperty(value = {"申请单位"}, index = 2)
    @ApiModelProperty("申请单位")
    private String companyApply;

    @ExcelProperty(value = {"项目名称"}, index = 0)
    @ApiModelProperty("项目名称")
    private String name;

    @ExcelProperty({"资金来源"})
    @ApiModelProperty("资金来源")
    private String capitalSource;

    @ExcelProperty({"内容摘要"})
    @ApiModelProperty("内容摘要")
    private String content;

    @ExcelProperty(value = {"预算价格"}, index = 3)
    @JsonSerialize(using = DoubleSerialize.class)
    @ApiModelProperty("预算价格")
    private String budget;

    @ExcelProperty({"立项依据"})
    @ApiModelProperty("立项依据")
    private String projectBase;

    @ExcelProperty(value = {"承办人"}, index = 4)
    @ApiModelProperty("承办人")
    private String contactor;

    @ExcelProperty({"承办单位"})
    @ApiModelProperty("承办单位")
    private String department;

    @ExcelProperty(value = {"立项时间"}, index = 5)
    private String startDatetime;

    @ExcelIgnore
    private int status;

    @ExcelIgnore
    private String opinion;

    @ExcelIgnore
    private int payment;

    @ExcelIgnore
    @ApiModelProperty("初验是否通过")
    private String initialType;

    @ExcelIgnore
    @ApiModelProperty("终验是否通过")
    private String finalType;

    @ExcelIgnore
    @ApiModelProperty("进度验收是否通过")
    private Integer progress;

    @ExcelIgnore
    @ApiModelProperty("项目金额")
    private String sumMoney;

    @ExcelIgnore
    @ApiModelProperty("附件集合")
    private List<UploadFile> uploadFileList;

    @ExcelIgnore
    @ApiModelProperty("发票附件集合")
    private List<UploadFile> invoiceFileList;

    @ExcelIgnore
    private String sectionId;
    @ExcelProperty(value = {"标段名称"}, index = 1)
    private String section_name;

    @ExcelIgnore
    private String company_id;

    @ExcelIgnore
    @ApiModelProperty("采购销售商ID")
    private String retailerId;

    @ExcelIgnore
    @ApiModelProperty("采购销售商")
    private String retailerName;

    @ExcelIgnore
    private Integer dataLabelsId;

    @ExcelProperty(value = {"开始计提折旧日期"}, index = 6)
    @ApiModelProperty("开始计提折旧日期")
    private String startProvisionDate;

    @ExcelIgnore
    private String certificateNum;

    @ExcelProperty(value = {"审定金额"}, index = 7)
    @ApiModelProperty("审定金额")
    private String auditAmount;

    @ExcelProperty(value = {"中标公司"}, index = 8)
    @ApiModelProperty("中标公司")
    private String companyName;

    @ExcelIgnore
    @ApiModelProperty("结算审批表id")
    private String settlementId;

    @ExcelIgnore
    @ApiModelProperty("审批编号")
    private String flowNo;

    @ExcelIgnore
    @ApiModelProperty("添加人id")
    private Integer userId;

    @ApiModelProperty("状态")
    private String userName;

    @ApiModelProperty("审批标识")
    private Integer appStatus;

    @ApiModelProperty("审批模板id")
    private Integer approvalStepsId;
}